package com.itheima_01;

public class Dog extends Animal{
    public Dog(){
    }
    public Dog(String name,int age){
        super(name,age);
    }
    public void catchDogMouse(){
        System.out.println("狗拿耗子");
    }
}
